package com.js.demo02;

import javafx.application.Application;
import javafx.stage.Stage;

public class Demo extends Application
{
//    第2课，application的启动方式和生命周期
    @Override
    public void start(Stage stage) throws Exception {
        System.out.println("start");

        stage.show();
    }

    @Override
    public void init() throws Exception {
        super.init();
        System.out.println("init");
    }

    @Override
    public void stop() throws Exception {
        super.stop();
        System.out.println("stop");
    }
}
